package com.tracesystem.controller.info;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class MenusListInfo {

    @TableId("MENUS_ID")
    private Integer menusId;

    @TableField("MENUS_NAME")
    private String menusName;

    @TableField(value = "MENUS_ICON", fill = FieldFill.INSERT)
    private String menusIcon;

    @TableField(value = "MENUS_ROUTER", fill = FieldFill.INSERT)
    private String menusRouter;

    @TableField(value = "MENUS_PARENTID", fill = FieldFill.INSERT_UPDATE)
    private Integer menusParentid;

    @TableField(value = "MENUS_TYPE", fill = FieldFill.INSERT_UPDATE)
    private Integer menusType;

    private List<MenusListInfo> children;


}
